---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1
metadata:
  namespace: {{ kubernetes_pipeline_namespace }}
  name: k8sdocs-cr
rules:
- apiGroups: ["extensions", "apps", "argoproj.io"]
  resources: ["services", "deployments", "pods", "applications"]
  verbs: ["get", "create", "update", "patch", "list", "delete"]
- apiGroups: ["policy"]
  resources: ["podsecuritypolicies"]
  resourceNames: ["controller"]
  verbs: ["use"]
